package com.bdmc.smokesensor.iservices;

import com.bdmc.smokesensor.entity.Smk_Buildings;

import java.util.List;
import java.util.Map;

public interface ISmk_BuildingsService extends IBaseService<Smk_Buildings> {
  public void updateDelete(int id);

  public Map<String, Object> findByPageable(int gc_id, int page, int size);

  public List<Map<String, Object>> findByGroupCompanyId(int gc_id);

  public Long countBySmkGroupCompanyId(int smkGroupCompanyId);

  public List<Smk_Buildings> findByOpenid(String openid);

  public List<Smk_Buildings> findByManagerMobile(String managerMobile);

  public List<Smk_Buildings> batchSave(List<Smk_Buildings> entities);

  public Map<String, Object> findByDynamic(String name, int page, int rows, int depid, int gc_id);

  public Map<String, Object> findByDepid(String name,int depid);

  public List<Map<String, Object>> findBuildingsByDepid(int depid);
}
